import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
export default defineConfig(async () => {
	return {
		plugins: [uni()],
    optimizeDeps: {
        include: ['echarts', 'zrender']
    },
		css: {
			preprocessorOptions: {
				scss: {
					additionalData:'@import "uview-plus/theme.scss";'
				},
			}
		}
	}
});